package com.atguigu.gmall.product.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.gmall.model.product.BaseCategoryView;
import com.atguigu.gmall.product.service.CategoryViewService;
import com.atguigu.gmall.product.mapper.CategoryViewMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 钟涛
* @description 针对表【category_view】的数据库操作Service实现
* @createDate 2021-12-10 19:51:03
*/
@Service
public class CategoryViewServiceImpl extends ServiceImpl<CategoryViewMapper, BaseCategoryView>
    implements CategoryViewService{
    @Autowired
    private  CategoryViewMapper categoryViewMapper;
    @Override
    public BaseCategoryView getCategoryView(Long c3Id) {
        return categoryViewMapper.getCategoryView(c3Id);
    }
}




